Skip to main content

GetInstanceConsoleOutput

Description

the call GetInstanceConsoleOutput obtains the system command line output of an instance, and the data is returned after Base64.

Request Method

POST

Request Path

/apsara/route/Ecs/GetInstanceConsoleOutput

Request Parameters Common Parameters

NameLocationTypeRequiredSample valueDescription
InstanceIdBODYstringYesi-bp1c1xhsrac2coiw****instance ID.
regionIdBODYstringYesNo sample value for this parameter.region id
RegionIdBODYstringYescn-qingdao-env17-d01the region ID of the instance. You can call the DescribeRegions to view the latest Alibaba Cloud region list.
versionBODYstringNo2016-01-01version of api

Return data

NameTypeSample valueDescription
RequestIDstring1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DCRequest id

Example

Successful Response example

{
"RequestID":"1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DC"
}

Failed Response example

{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}

}